package com.group.www.dao.impl;

import com.group.www.pojo.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderinfoDao {

    List<OrderInfo> queryorderId(@Param("userid") Integer userId,@Param("orderid") Integer osId);

    List query();

    List<OrderInfo> queryorderIdbyuserId(Integer userId);

    void save(OrderInfo orderInfo);

    void delete(@Param("userid") Integer userId,@Param("orderid") Integer orderId);

    void update(OrderInfo orderinfo);

    void deleteByOrderId(Integer messageid);

    List<OrderInfo> queryAll(@Param("brandid") Integer brandid,@Param("username") Object username,@Param("orderstatus") Object orderstatus);
}
